package com.ossjk.qlh.tgb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ossjk.core.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Copyright  Thu Jan 27 15:04:33 CST 2022 QLH. Tech Ltd. All rights reserved.
 * 
 * @Package: com.ossjk.qlh.projects
 * @ClassName: ProductDetails
 * @Description: ProductDetails-实体类
 * @author: chair
 * @date:  2022-01-27 15:04:33 
 */
@ApiModel(value = "产品内容")
@Data
public class ProductDetails extends BaseEntity<ProductDetails> {

	private static final long serialVersionUID = 1L;

	/**
	 * 产品细节的id
	 */
	@ApiModelProperty(value = "产品细节的id", required = true)
	@TableField("id")
	private String id;
	/**
	 * 产品类别的id
	 */
	@ApiModelProperty(value = "产品类别的id")
	@TableField("pcid")
	private String pcid;
	/**
	 * 对应商铺的id
	 */
	@ApiModelProperty(value = "对应商铺的id")
	@TableField("store_id")
	private String storeId;
	/**
	 * 产品名称
	 */
	@ApiModelProperty(value = "产品名称")
	@TableField("name")
	private String name;
	/**
	 * 进货底价
	 */
	@ApiModelProperty(value = "进货底价")
	@TableField("base_purchase_price")
	private BigDecimal basePurchasePrice;
	/**
	 * 零售底价
	 */
	@ApiModelProperty(value = "零售底价")
	@TableField("base_retail_price")
	private BigDecimal baseRetailPrice;
	/**
	 * 扣点
	 */
	@ApiModelProperty(value = "扣点")
	@TableField("middle_cost")
	private BigDecimal middleCost;
	/**
	 * 产品简介
	 */
	@ApiModelProperty(value = "产品简介")
	@TableField("brief_info")
	private String briefInfo;
	/**
	 * 优品：1-是，2-否
	 */
	@ApiModelProperty(value = "优品：1-是，2-否")
	@TableField("quality_product")
	private Integer qualityProduct;
	/**
	 * 所属商家id
	 */
	@ApiModelProperty(value = "所属商家id")
	@TableField("business_id")
	private String businessId;
	 


	 
}
